<template>
  <div>
    <van-search
  v-model="value"
  show-action
  label="地址"
  placeholder="请输入搜索关键词"
  @search="onSearch"
>
  <template #action>
    <div @click="onSearch">搜索</div>
  </template>
</van-search>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item><img src="@/assets/1.webp" alt=""></van-swipe-item>
      <van-swipe-item><img src="@/assets/1.webp" alt=""></van-swipe-item>
      <van-swipe-item><img src="@/assets/1.webp" alt=""></van-swipe-item>
      <van-swipe-item><img src="@/assets/1.webp" alt=""></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {}
</script>

<style>
.my-swipe img {
  width: 100%;
height: 300px;
}
</style>